[INFO] cloning repository https://github.com/luyikk/csharp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luyikk/csharp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fcsharp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fcsharp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb27fc7743d80c96deecf7fcd1dca19364539bc6
[INFO] fixing luyikk/csharp against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fcsharp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/luyikk/csharp
[INFO] finished tweaking git repo https://github.com/luyikk/csharp
[INFO] tweaked toml for git repo https://github.com/luyikk/csharp written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luyikk/csharp on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/luyikk/csharp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded interoptopus v0.14.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe
[INFO] running `Command { std: "docker" "start" "740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking heck v0.4.0
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling darling_core v0.13.2
[INFO] [stderr]    Compiling darling_macro v0.13.2
[INFO] [stderr]    Compiling darling v0.13.2
[INFO] [stderr]    Compiling interoptopus_proc v0.14.0
[INFO] [stderr]     Checking interoptopus v0.14.1
[INFO] [stderr]     Checking interoptopus_backend_cpython v0.14.0
[INFO] [stderr]     Checking interoptopus_backend_csharp v0.14.0
[INFO] [stderr]     Checking csharp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `csharp`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | /     #[ffi_service_ctor]
[INFO] [stdout] 86 | |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 | |         Ok(Self { x, y })
[INFO] [stdout] 88 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 85 ~     unsafe(#[ffi_service_ctor]
[INFO] [stdout] 86 |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 |         Ok(Self { x, y })
[INFO] [stdout] 88 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected type, found keyword `unsafe`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 | |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 90 ~     unsafe(pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]              --> src/lib.rs:84:6
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 | |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 | |         self.x
[INFO] [stdout] 97 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 94 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 |         self.x
[INFO] [stdout] 97 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 | |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 | |         self.y
[INFO] [stdout] 101 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout]  98 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 |         self.y
[INFO] [stdout] 101 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            84 | impl unsafe(Vec2) {
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | /     #[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 | |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] 105 | |     pub fn add(&mut self, t: &Vec2) {
[INFO] [stdout] 106 | |         self.x += t.x;
[INFO] [stdout] 107 | |         self.y += t.y;
[INFO] [stdout] 108 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 103 ~     unsafe(#[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] ...
[INFO] [stdout] 107 |         self.y += t.y;
[INFO] [stdout] 108 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |      ^^^^^^ expected type
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl Vec2 {
[INFO] [stdout]    |      ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl unsafe(Vec2) {
[INFO] [stdout]    |      +++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:113:3
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:125:3
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:144:3
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]    = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/bindings.rs from 2021 edition to 2024
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `csharp`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | /     #[ffi_service_ctor]
[INFO] [stdout] 86 | |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 | |         Ok(Self { x, y })
[INFO] [stdout] 88 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 85 ~     unsafe(#[ffi_service_ctor]
[INFO] [stdout] 86 |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 |         Ok(Self { x, y })
[INFO] [stdout] 88 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 | |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 90 ~     unsafe(pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected type, found keyword `unsafe`
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 | |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 | |         self.x
[INFO] [stdout] 97 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 94 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 |         self.x
[INFO] [stdout] 97 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]              --> src/lib.rs:84:6
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 | |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 | |         self.y
[INFO] [stdout] 101 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout]  98 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 |         self.y
[INFO] [stdout] 101 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | /     #[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 | |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] 105 | |     pub fn add(&mut self, t: &Vec2) {
[INFO] [stdout] 106 | |         self.x += t.x;
[INFO] [stdout] 107 | |         self.y += t.y;
[INFO] [stdout] 108 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 103 ~     unsafe(#[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] ...
[INFO] [stdout] 107 |         self.y += t.y;
[INFO] [stdout] 108 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            84 | impl unsafe(Vec2) {
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl Vec2 {
[INFO] [stdout]    |      ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl unsafe(Vec2) {
[INFO] [stdout]    |      +++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |      ^^^^^^ expected type
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:113:3
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:125:3
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:144:3
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.06s
[INFO] [stderr] crater-edition-check: csharp v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking csharp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | /     #[ffi_service_ctor]
[INFO] [stdout] 86 | |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 | |         Ok(Self { x, y })
[INFO] [stdout] 88 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 85 ~     unsafe(#[ffi_service_ctor]
[INFO] [stdout] 86 |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 |         Ok(Self { x, y })
[INFO] [stdout] 88 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:16:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 | |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 90 ~     unsafe(pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 | |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 | |         self.x
[INFO] [stdout] 97 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 94 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 |         self.x
[INFO] [stdout] 97 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 | |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 | |         self.y
[INFO] [stdout] 101 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout]  98 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 |         self.y
[INFO] [stdout] 101 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | /     #[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 | |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] 105 | |     pub fn add(&mut self, t: &Vec2) {
[INFO] [stdout] 106 | |         self.x += t.x;
[INFO] [stdout] 107 | |         self.y += t.y;
[INFO] [stdout] 108 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 103 ~     unsafe(#[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] ...
[INFO] [stdout] 107 |         self.y += t.y;
[INFO] [stdout] 108 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[no_mangle]
[INFO] [stdout]    |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[unsafe(no_mangle)]
[INFO] [stdout]    |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl Vec2 {
[INFO] [stdout]    |      ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl unsafe(Vec2) {
[INFO] [stdout]    |      +++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:113:3
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | /     #[ffi_service_ctor]
[INFO] [stdout] 86 | |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 | |         Ok(Self { x, y })
[INFO] [stdout] 88 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 85 ~     unsafe(#[ffi_service_ctor]
[INFO] [stdout] 86 |     pub fn new(x: f32, y: f32) -> Result<Self, MyFFIError> {
[INFO] [stdout] 87 |         Ok(Self { x, y })
[INFO] [stdout] 88 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:125:3
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | /     pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 | |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 90 ~     unsafe(pub fn error(&self) -> Result<(), MyFFIError> {
[INFO] [stdout] 91 |         Err(MyFFIError::OtherError)
[INFO] [stdout] 92 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 | |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 | |         self.x
[INFO] [stdout] 97 | |     }
[INFO] [stdout]    | |_____^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 94 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout] 95 |     pub fn get_x(&self) -> f32 {
[INFO] [stdout] 96 |         self.x
[INFO] [stdout] 97 ~     })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | /     #[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 | |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 | |         self.y
[INFO] [stdout] 101 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout]  98 ~     unsafe(#[ffi_service_method(on_panic = "return_default")]
[INFO] [stdout]  99 |     pub fn get_y(&self) -> f32 {
[INFO] [stdout] 100 |         self.y
[INFO] [stdout] 101 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | /     #[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 | |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] 105 | |     pub fn add(&mut self, t: &Vec2) {
[INFO] [stdout] 106 | |         self.x += t.x;
[INFO] [stdout] 107 | |         self.y += t.y;
[INFO] [stdout] 108 | |     }
[INFO] [stdout]     | |_____^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 103 ~     unsafe(#[ffi_service_method(on_panic = "undefined_behavior")]
[INFO] [stdout] 104 |     #[ffi_surrogates(x = "vec2_type")]
[INFO] [stdout] ...
[INFO] [stdout] 107 |         self.y += t.y;
[INFO] [stdout] 108 ~     })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:144:3
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]   --> src/lib.rs:84:6
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl Vec2 {
[INFO] [stdout]    |      ^^^^ usage of unsafe attribute
[INFO] [stdout]    |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl unsafe(Vec2) {
[INFO] [stdout]    |      +++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:113:3
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 119 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:125:3
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:137:3
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 137 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:144:3
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[no_mangle]
[INFO] [stdout]     |   ^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 144 | #[unsafe(no_mangle)]
[INFO] [stdout]     |   +++++++         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `csharp` (lib test) due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `csharp` (lib) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe", kill_on_drop: false }`
[INFO] [stdout] 740d73e653c4332d81084e2dd76b94eeccc660270bc23d5daa7d2d2d9fe5b8fe
